import request from '@/utils/request'

// 查询消息提醒
export function queryMessage(params) {
  return request({
    url: '/message/queryMessage',
    method: 'get',
    params
  })
}

// 消息已读
export function readMessage(data) {
  return request({
    url: `/message/readMessage`,
    method: 'post',
    data
  })
}